package com.example.qxfw.qxxx.service.impl;

import com.example.qxfw.qxxx.mapper.IssuerInfoMapper;
import com.example.qxfw.qxxx.service.IssuerInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IssuerInfoServiceImpl implements IssuerInfoService {

    @Autowired
    private IssuerInfoMapper issuerInfoMapper;

    @Override
    public List<String> getUserName() {
        return issuerInfoMapper.selectName();
    }

    @Override
    public List<String> getUserName1(String permission) {
        return issuerInfoMapper.selectName1(permission);
    }

    @Override
    public String getPhone(String userName) {
        return issuerInfoMapper.selectPhone(userName);
    }
}
